const moduleB = {
    namespaced: true,
    state:{
        countB: 1
    },
    getters:{
        countBB:(state)=>{
            return state.countB + 10
        }
    },
    mutations:{
        increaseB(state){
            state.countB++
        }
    },
    actions:{
        asyncIncreaseB({commit}){ // state, commit
            commit('increaseB')
        }
    }
}


export default moduleB